package com.onesports.intelligent.k12.polarlight.domain.dto.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 商城订单支付信息表
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@ApiModel(value = "商城订单支付信息表")
public class WxPayOrderDTO {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "$column.comments")
    private String id;


    @ApiModelProperty(value = "微信支付系统生成的订单号")
    private String transactionId;


    @ApiModelProperty(value = "支付金额")
    private BigDecimal payAmount;


    @ApiModelProperty(value = "商户支付订单号")
    private String outTradeNo;


    @ApiModelProperty(value = "支付时间")
    private Date payTime;


    @ApiModelProperty(value = "交易类型")
    private String tradeType;


    @ApiModelProperty(value = "交易状态")
    private String tradeState;


    @ApiModelProperty(value = "交易状态描述")
    private String tradeStateDesc;


    @ApiModelProperty(value = "支付完成时间")
    private Date successTime;


    @ApiModelProperty(value = "付款银行")
    private String bankType;


    @ApiModelProperty(value = "用户在服务商appid下的唯一标识")
    private String spOpenid;


    @ApiModelProperty(value = "用户在子商户appid下的唯一标识")
    private String subOpenid;


    @ApiModelProperty(value = "子商户的商户号")
    private String subMchid;


    @ApiModelProperty(value = "券ID")
    private String couponId;


    @ApiModelProperty(value = "优惠券面额")
    private BigDecimal couponAmount;


}
